package xcmg.device.service.vo.logistic;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Des 查看物流运单详情信息返回实体
 * @Date 2021/5/20 19:23
 * @Author wangzhaoyu
 * @Param
 * @Return
 */
public class LogisticWaybillFeeViewResponseVO {

    private HeadInfo headInfo;

    private List<Detail> details;

    public HeadInfo getHeadInfo() {
        return headInfo;
    }

    public void setHeadInfo(HeadInfo headInfo) {
        this.headInfo = headInfo;
    }

    public List<Detail> getDetails() {
        return details;
    }

    public void setDetails(List<Detail> details) {
        this.details = details;
    }

    public static class HeadInfo{
        //运费结算单主键
        private String id;
        //总运费
        private BigDecimal totalFee;
        //结算单单号
        private String wayBillFeeNo;
        //发运方式名称
        private String shippingMethod;
        //发运方式id
        private String shippingMethodId;
        //调整比例
        private BigDecimal alterationRatio;
        //调整后金额
        private BigDecimal afterAuditTotalFee;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public BigDecimal getTotalFee() {
            return totalFee;
        }

        public void setTotalFee(BigDecimal totalFee) {
            this.totalFee = totalFee;
        }

        public String getWayBillFeeNo() {
            return wayBillFeeNo;
        }

        public void setWayBillFeeNo(String wayBillFeeNo) {
            this.wayBillFeeNo = wayBillFeeNo;
        }

        public String getShippingMethod() {
            return shippingMethod;
        }

        public void setShippingMethod(String shippingMethod) {
            this.shippingMethod = shippingMethod;
        }

        public String getShippingMethodId() {
            return shippingMethodId;
        }

        public void setShippingMethodId(String shippingMethodId) {
            this.shippingMethodId = shippingMethodId;
        }

        public BigDecimal getAlterationRatio() {
            return alterationRatio;
        }

        public void setAlterationRatio(BigDecimal alterationRatio) {
            this.alterationRatio = alterationRatio;
        }

        public BigDecimal getAfterAuditTotalFee() {
            return afterAuditTotalFee;
        }

        public void setAfterAuditTotalFee(BigDecimal afterAuditTotalFee) {
            this.afterAuditTotalFee = afterAuditTotalFee;
        }
    }

    public static class Detail{
        //主键
        private String id;
        //物流运单主键
        private String wayBillId;
        //单据类型
        private String businessType;
        //物流运单号
        private String wayBillNo;
        //客户编码
        private String dealerOrgId;
        //客户名称
        private String dealerOrgName;
        //物流运单关联的业务单据的单据号（发运交接单号/三包出库单号），多个中间用逗号隔开
        private String businessOrderNos;
        //发运方式
        private String shippingMethod;
        //发运方式id
        private String shippingMethodId;
        //承运商id
        private String carrierOrgId;
        //承运商
        private String carrierOrgName;
        //初始运费
        private BigDecimal initinalCarriage;
        //变更后运费
        private BigDecimal afterModifyCarriage;
        //最终运费
        private BigDecimal finalCarriage;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getWayBillId() {
            return wayBillId;
        }

        public void setWayBillId(String wayBillId) {
            this.wayBillId = wayBillId;
        }

        public String getBusinessType() {
            return businessType;
        }

        public void setBusinessType(String businessType) {
            this.businessType = businessType;
        }

        public String getWayBillNo() {
            return wayBillNo;
        }

        public void setWayBillNo(String wayBillNo) {
            this.wayBillNo = wayBillNo;
        }

        public String getDealerOrgId() {
            return dealerOrgId;
        }

        public void setDealerOrgId(String dealerOrgId) {
            this.dealerOrgId = dealerOrgId;
        }

        public String getDealerOrgName() {
            return dealerOrgName;
        }

        public void setDealerOrgName(String dealerOrgName) {
            this.dealerOrgName = dealerOrgName;
        }

        public String getBusinessOrderNos() {
            return businessOrderNos;
        }

        public void setBusinessOrderNos(String businessOrderNos) {
            this.businessOrderNos = businessOrderNos;
        }

        public String getShippingMethod() {
            return shippingMethod;
        }

        public void setShippingMethod(String shippingMethod) {
            this.shippingMethod = shippingMethod;
        }

        public String getShippingMethodId() {
            return shippingMethodId;
        }

        public void setShippingMethodId(String shippingMethodId) {
            this.shippingMethodId = shippingMethodId;
        }

        public String getCarrierOrgId() {
            return carrierOrgId;
        }

        public void setCarrierOrgId(String carrierOrgId) {
            this.carrierOrgId = carrierOrgId;
        }

        public String getCarrierOrgName() {
            return carrierOrgName;
        }

        public void setCarrierOrgName(String carrierOrgName) {
            this.carrierOrgName = carrierOrgName;
        }

        public BigDecimal getInitinalCarriage() {
            return initinalCarriage;
        }

        public void setInitinalCarriage(BigDecimal initinalCarriage) {
            this.initinalCarriage = initinalCarriage;
        }

        public BigDecimal getAfterModifyCarriage() {
            return afterModifyCarriage;
        }

        public void setAfterModifyCarriage(BigDecimal afterModifyCarriage) {
            this.afterModifyCarriage = afterModifyCarriage;
        }

        public BigDecimal getFinalCarriage() {
            return finalCarriage;
        }

        public void setFinalCarriage(BigDecimal finalCarriage) {
            this.finalCarriage = finalCarriage;
        }
    }
}
